/**
 * 
 */
package com.googlecode.easyibatis.test.model;

import java.util.Date;

import com.googlecode.easyibatis.core.model.Model;
import com.googlecode.easyibatis.core.model.annotation.Entity;
import com.googlecode.easyibatis.core.model.annotation.Ibatis;
import com.googlecode.easyibatis.core.model.annotation.SysDate;

/**
 * @author zxq
 * 
 */
@Entity(tableName = "T_MODULE", sequenceName = "SEQ_MODULE", name = "模块")
@Ibatis(findAllByFilter = "test.Module.findAllByFilter", findById = "test.Module.findById")
public class Module extends Model {
	private String name;
	private String code;
	private String url;
	private Integer status;
	@SysDate
	private Date createTime;
	/**
 * 
 */
	public Module() {
		super();
	}
	/**
	 * @param id
	 */
	public Module(Long id) {
		super(id);
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}
	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}
	/**
	 * @param url
	 *            the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime
	 *            the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
